package com.zoro.barn.inner.service.documentsql;

import com.zoro.barn.commons.db.annotations.MybatisMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author zhaoxingwu
 */
@SpringBootApplication
@MapperScan(basePackages = "com.zoro.barn", annotationClass = MybatisMapper.class)
public class BarnInnerDocumentSqlServer {
    private static final Logger LOGGER = LoggerFactory.getLogger(BarnInnerDocumentSqlServer.class);

    public static void main(String[] args) {
        SpringApplication.run(BarnInnerDocumentSqlServer.class, args);
        LOGGER.info("程序启动完成");
    }

}
